<?php
  
//
Route::group(['namespace' => 'Admin'],function(){
    

    
    //栏目相关
    Route::resource('cat','CatController');
     //栏目遍历
    Route::post('asd','CatController@asd');
    //加载未审核商家
    Route::resource('sogo','SogoController');
    //加载通过审核商家
    Route::get('/shop','SogoController@aa');
    //加载未通过审核商家
    Route::get('/shop1','SogoController@bb');
    //加载禁用商家
    Route::get('/shop2','SogoController@cc');
    //加载未审核商家的详情
    Route::get('/aa1/{id}','SogoController@aa1');
    //加载通过审核的商家详情
    Route::get('/bb1/{id}','SogoController@bb1');
    //加载未通过审核的商家详情
    Route::get('/cc1/{id}','SogoController@cc1');
    //加载禁用商家详情
     Route::get('/dd1/{id}','SogoController@dd1');
    //商家审核操作
    Route::get("/shop/check/{id}/{state}","SogoController@check");
    //商家违规禁用
    Route::get("/shop/check1/{id}/{state}","SogoController@check1");
    //商家通过审核
    Route::get("/shop/check2/{id}/{state}","SogoController@check2");
    //解除禁用
    Route::get("/shop/check3/{id}/{state}","SogoController@check3");
    //商家列表
     Route::get("/sogos","SogoController@sogos");
});


   